import Layout from "@/layout";

export default {
  path: "/exam",
  component: Layout,
  redirect: "/exam/exam",
  name: "exam",
  meta: {
    title: "考试管理",
    icon: "nested",
  },
  children: [
    {
      path: "question",
      component: () => import("@/views/exam/question"),
      name: "exam:question",
      meta: { title: "题库信息", icon: "el-icon-document-remove" },
    },
    {
      path: "paper",
      component: () => import("@/views/exam/paper"),
      name: "exam:paper",
      meta: { title: "试卷信息", icon: "el-icon-document-remove" },
    },
    {
      path: "exam",
      component: () => import("@/views/exam/exam"),
      name: "exam:exam",
      meta: { title: "考试信息", icon: "el-icon-document-remove" },
    },
    {
      path: "addExam",
      component: () => import("@/views/exam/addExam"),
      hidden: true,
      name: "exam:addExam",
      meta: { title: "考试信息", icon: "form" },
    },
  ],
}